//package com.yuzhyn.hiops.app.system.global;
////
////import com.yuzhyn.azylee.core.datas.exceptions.ExceptionTool;
////import com.yuzhyn.azylee.core.logs.Alog;
////import com.yuzhyn.hiops.common.model.ResponseData;
////import org.springframework.http.HttpStatus;
////import org.springframework.web.bind.annotation.ControllerAdvice;
////import org.springframework.web.bind.annotation.ExceptionHandler;
////import org.springframework.web.bind.annotation.ResponseBody;
////import org.springframework.web.bind.annotation.ResponseStatus;
////import org.springframework.web.servlet.ModelAndView;
////
////@ControllerAdvice
////public class GlobalExceptionHandler {
////
////
////    @ResponseStatus(HttpStatus.OK)
////    @ExceptionHandler(Exception.class)
////    @ResponseBody
////    public ResponseData customException(Exception ex) {
////        ResponseData responseData = ResponseData.error(ex.getMessage());
////        String exString = ExceptionTool.getStackTrace(ex);
////        responseData.putDataMap("exception", exString);
////        Alog.e(exString);
////        return responseData;
////    }
////}